<template>
    <div class="news">
        <div class="head">
            <div class="nav1">
                <router-link to="/index">首页</router-link>&gt;
                <a href="">新闻中心</a>
            </div>
            <div class="nav2">
                <div class="nav2-1">新闻中心</div>
            </div>
            <!-- 差个首页组件 -->   
        </div>
        <div class="article">
            <div class="box">
                <span>专题专栏</span>
                <div class="more" >
                    <span class="more1">了解更多</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </div>
                <div class="box1">
                    <div class="box1-1" v-for="item in 13" :key="item.id">
                        <img :src='`/img/newspic/${item}.jpg`' alt="">
                        <div class="title">
                            <p>没有共产党 就没有新中国!</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
    }
</script>
<style lang="scss" scoped>
*a{
    text-decoration: none;
    color:#fff
}
.news .head {
    width: 1820px;
    height: 256px;
    background: url(/img/newspic/cjwt.jpg);
    margin: 0 auto;
}
.news .head .nav1 {
    width: 1180px;
    height: 57px;
    margin: 0 auto;
    line-height: 57px;
    font-size: 14px;
    color: #fff;
}
.news .head .nav2 {
    width: 1180px;
    height: 110;
    padding-top: 38px;
    margin: 0 auto;
}
.news .head .nav2 .nav2-1{
    color: #fff;
    text-align: center;
    font-size: 30px;
    margin: 7.5px auto;
}
.news .article {
    width: 1820px;
    height: 1880px;
    margin: 0 auto;
    background: url(/img/newspic/bg1.jpg);
    padding:60px 0;
}
.news .article .box {
    width: 1180px;
    margin: 0 auto;
    position: relative;
}
.news .article .box>span{
    font-size: 32px;
}
.news .article .box .more{
    position: absolute;
    right: 0px;
    top:10px;
    background: url(/img/newspic/link-icon1.png) no-repeat right center;
}
.news .article .box .more:hover{
    cursor: pointer;
    color:#c7a368;
    background: url(/img/newspic/link-icon2.png) no-repeat right center;
}
.news .article .box .box1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news .article .box .box1 .box1-1{
    width: 360px;
    height: 300px;
    // background: skyblue;
    // border: 1px solid black;
    margin: 40px 0;
    position: relative;
}
.news .article .box .box1 .box1-1>img{
    width: 100%;
    height: 270px;
}
.news .article .box .box1 .box1-1 .title{
    width: 318px;
    height: 71px;
    background: #fff;
    box-shadow: 0 0 10px gray;
    position: absolute;
    left: 21px;
    bottom: -5px;
    text-align: center;
    line-height: 71px;
    font-size: 14px;
}
</style>